.messages-container {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.nav-bar {
  display: flex;
  align-items: center;
  height: 90rpx;
  padding: 0 30rpx;
  background-color: #ffffff;
}

.nav-title {
  font-size: 38rpx;
  font-weight: bold;
  // padding-right: 30rpx;
}

.filter-btn {
  display: flex;
  align-items: center;
}

.filter-text {
	margin-left: 20rpx;
	margin-right: 10rpx;
  font-size: 24rpx;
  color: #666666;
}

.filter-btn image {
  width: 28rpx;
  height: 28rpx;
  transition: transform 0.3s;
}

.search-btn {
  width: 40rpx;
  height: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn image {
  width: 40rpx;
  height: 40rpx;
}

.filter-options {
  background-color: #ffffff;
  padding: 0 30rpx;
  border-bottom: 1rpx solid #eeeeee;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80rpx;
  border-bottom: 1rpx solid #f0f0f0;
}

.filter-item:last-child {
  border-bottom: none;
}

.filter-item text {
  font-size: 28rpx;
  color: #333333;
}

.filter-item image {
  width: 20rpx;
  height: 20rpx;
}

.category-tabs {
  display: flex;
  background-color: #ffffff;
  padding: 20rpx 0;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1rpx solid #eeeeee;
}

.tab-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 30rpx;
  height: 60rpx;
}

.tab-item.active {
  color: #1a73e8;
}

.tab-item text {
  font-size: 28rpx;
  color: #333333;
}

.tab-item.active text {
  color: #1a73e8;
  font-weight: bold;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30rpx;
  height: 6rpx;
  background-color: #1a73e8;
  border-radius: 3rpx;
}

.unread-badge {
  position: absolute;
  top: -10rpx;
  right: 20rpx;
  background-color: #ff4d4f;
  color: #ffffff;
  font-size: 20rpx;
  padding: 2rpx 8rpx;
  border-radius: 12rpx;
  min-width: 24rpx;
  text-align: center;
}

.messages-list {
  padding: 20rpx;
}

.message-item {
  display: flex;
  background-color: #ffffff;
  padding: 20rpx;
  margin-bottom: 20rpx;
  border-radius: 10rpx;
}

.message-avatar {
  position: relative;
  margin-right: 20rpx;
}

.message-avatar image {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
}

.unread-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 30rpx;
  height: 30rpx;
  background-color: #ff4d4f;
  border-radius: 50%;
  border: 4rpx solid #ffffff;
}

.message-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 10rpx;
}

.sender-name {
  font-size: 30rpx;
  font-weight: bold;
  color: #333333;
  margin-right: 10rpx;
}

.official-tag {
  font-size: 22rpx;
  color: #1a73e8;
  background-color: #e8f0fe;
  padding: 2rpx 10rpx;
  border-radius: 4rpx;
  margin-right: 10rpx;
}

.vip-tag {
  font-size: 22rpx;
  color: #ffffff;
  background-color: #ffb74d;
  padding: 2rpx 10rpx;
  border-radius: 4rpx;
  margin-right: 10rpx;
}

.message-time {
  font-size: 24rpx;
  color: #999999;
  margin-left: auto;
}

.message-text {
  font-size: 28rpx;
  color: #666666;
  line-height: 40rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100rpx 0;
}

.empty-icon {
  width: 200rpx;
  height: 200rpx;
  margin-bottom: 30rpx;
}

.empty-text {
  font-size: 28rpx;
  color: #999999;
}